package com.bardsoftware.foronuvolo.server;

import javax.servlet.http.HttpServletRequest;

import com.bardsoftware.foronuvolo.data.Discussion;
import com.bardsoftware.foronuvolo.data.DatastoreDiscussionChunk;
import com.bardsoftware.foronuvolo.data.DiscussionChunk;
import com.bardsoftware.foronuvolo.data.ForumUser;
import com.google.appengine.repackaged.com.google.common.collect.Maps;

public class DiscussionsViewInboxServlet extends DiscussionsViewServlet {
    public DiscussionsViewInboxServlet() {
        super("discussions_view.jsp", Maps.immutableMap("view", "inbox"));
    }
    @Override
    protected DiscussionChunk getPage(HttpServletRequest req, ForumUser user) {
        return DatastoreDiscussionChunk.getInboxPage(user);
    }

}
